type crypto/tls.cipherSuite
18 uses
crypto/tls (current package)
cipher_suites.go#L137: type cipherSuite struct {
cipher_suites.go#L151: var cipherSuites = []*cipherSuite{ // TODO: replace with a map, since the order doesn't matter.
cipher_suites.go#L178: func selectCipherSuite(ids, supportedIDs []uint16, ok func(*cipherSuite) bool) *cipherSuite {
cipher_suites.go#L642: func mutualCipherSuite(have []uint16, want uint16) *cipherSuite {
cipher_suites.go#L651: func cipherSuiteByID(id uint16) *cipherSuite {
common.go#L1341: rsaCipherSuite := selectCipherSuite(chi.CipherSuites, config.cipherSuites(), func(c *cipherSuite) bool {
common.go#L1418: cipherSuite := selectCipherSuite(chi.CipherSuites, config.cipherSuites(), func(c *cipherSuite) bool {
handshake_client.go#L38: suite *cipherSuite
handshake_server.go#L31: suite *cipherSuite
handshake_server.go#L422: func (hs *serverHandshakeState) cipherSuiteOk(c *cipherSuite) bool {
prf.go#L90: func prfAndHashForVersion(version uint16, suite *cipherSuite) (prfFunc, crypto.Hash) {
prf.go#L104: func prfForVersion(version uint16, suite *cipherSuite) prfFunc {
prf.go#L111: func masterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, clientRandom, serverRandom []byte) []byte {
prf.go#L121: func extMasterFromPreMasterSecret(version uint16, suite *cipherSuite, preMasterSecret, transcript []byte) []byte {
prf.go#L134: func keysFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte, macLen, keyLen, ivLen int) (clientMAC, serverMAC, clientKey, serverKey, clientIV, serverIV []byte) {
prf.go#L155: func newFinishedHash(version uint16, cipherSuite *cipherSuite) finishedHash {
prf.go#L269: func ekmFromMasterSecret(version uint16, suite *cipherSuite, masterSecret, clientRandom, serverRandom []byte) func(string, []byte, int) ([]byte, error) {